package de.au.fi.integration;

import de.au.fi.domain.Stock;
import de.au.fi.domain.Stock.AnalystenMeinung;
import de.au.fi.domain.Stock.DreimonatsReversal;

public class StockBuilder {
	
	public static Stock fillStock() {
		Stock stock = new Stock();
		stock.setWkn("test");
		stock.setName("testname");
		stock.setRoeLj(15.0);
		stock.setEbitLj(30.0);
		stock.setEigKapQuLj(29.0);
		stock.setKgvAj(-10.7);
		stock.setKgv1j(15.0);
		stock.setKgv2j(18.0);
		stock.setKgv3j(11.0);
		stock.setKgv4j(8.0);
		stock.setAnalystenMeinung(AnalystenMeinung.BUY);
		stock.setReaktionQz(-2.0);
		stock.setGewinnRev(2.0);
		stock.setKursNow(16.56);
		stock.setKurs6monate(13.89);
		stock.setKurs1jahr(10.54);
		stock.setDreimonatsReversal(DreimonatsReversal.SCHLECHTER_ALS_DAX);
		stock.setEpsAj(3.0);
		stock.setEpsNj(4.0);
		stock.setDividende(2.78);
		return stock;
	}
	
	public static Stock fillStockSuper() {
		Stock stock = new Stock();
		stock.setWkn("test");
		stock.setName("testname");
		stock.setRoeLj(50.0);
		stock.setEbitLj(30.0);
		stock.setEigKapQuLj(50.0);
		stock.setKgvAj(9.0);
		stock.setKgv1j(9.0);
		stock.setKgv2j(9.0);
		stock.setKgv3j(9.0);
		stock.setKgv4j(9.0);
		stock.setAnalystenMeinung(AnalystenMeinung.SELL);
		stock.setReaktionQz(5.0);
		stock.setGewinnRev(5.1);
		stock.setKursNow(16.56);
		stock.setKurs6monate(8.89);
		stock.setKurs1jahr(2.54);
		stock.setDreimonatsReversal(DreimonatsReversal.SCHLECHTER_ALS_DAX);
		stock.setEpsAj(3.0);
		stock.setEpsNj(8.1);
		stock.setDividende(2.78);
		return stock;
	}

}
